package cn.iocoder.yudao.module.vos.controller.app.marketingscore.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.*;

@Data
public class MarketingListUpdateReqVO {

    @Schema(description = "手机号MD5", requiredMode = Schema.RequiredMode.REQUIRED, example = "e10adc3949ba59abbe56e057f20f883e")
    @NotBlank(message = "phoneMd5 不能为空")
    private String phoneMd5;

    @Schema(description = "响应状态：0未应答 1注册 2成交 3拒绝", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "responseState 不能为空")
    @Min(value = 0, message = "responseState 最小为0")
    @Max(value = 4, message = "responseState 最大为4")
    private Integer responseState;

    @Schema(description = "响应时间，格式 yyyy-MM-dd HH:mm:ss 或 epoch(秒/毫秒)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-09-20 18:36:00")
    @NotBlank(message = "responseTime 不能为空")
    private String responseTime;
}
